
<b>related filters</b>
<hr></hr>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$qvfmodel,
	'columns'=>array(
                /*array(
                    'value'=>'$data[\'fil_id\']',
                    'type'=>'raw',
                    'htmlOptions'=>array(
                            'style'=>'width:50px',
                    ),
                    'name'=>'fil_id',
                ),
                array(
                    'value'=>'$data[\'qvf_id\']',
                    'type'=>'raw',
                    'htmlOptions'=>array(
                            'style'=>'width:50px',
                            'class'=>'qvf_id',
                    ),
                    'name'=>'qvff_id',
                ),*/
                array(
                    'value'=>'$data[\'qvf\'][\'qvf_fieldName\']',
                    'type'=>'raw',
                    'htmlOptions'=>array(
                            'style'=>'width:150px',
                    ),
                    'name'=>'QV FieldName',
                ),
		array(
                    'value'=>'$data[\'filter\']',
                    'type'=>'raw',
                    'htmlOptions'=>array(
                            //'onClick'=>"jQuery.ajax({'type':'POST','url':'".Yii::app()->createUrl('//qvmapping/loadValues')."','data':{'docName':'".strtoupper(Reports::model()->findByPK($_GET['id'])->ber_docName)."','id':$(this).parent().children('.qvf_id').text()},'success':function(html){jQuery('#qvv_values').html(html)}});",
                    ),
                    'name'=>'Filter',
                ),
	),
)); ?>